﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo2
{



//2、根据图片，写出四个英雄和他们的父类，需要有输出数据的方法，需要有构造方法。
    class Program
    {
     
        static void Main(string[] args)
        {
            Student stu = new Student(45, "李伟", '男', 123578, 125154, "软件", "三班");
            stu.Text();
            Teacher tea = new Teacher(1, "李伟2号", '女', 42454232, 243676879," dd", 957346534);
            tea.Text();
            Console.ReadKey();
        }
    }
}
